package com.gsww.vue.entity.sys;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.NamedQuery;
import javax.persistence.Table;


/**
 * The persistent class for the sys_districts database table.
 * 
 */
@Entity
@Table(name="sys_districts")
@NamedQuery(name="SysDistrict.findAll", query="SELECT s FROM SysDistrict s")
public class SysDistrict implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="RES_ID")
	private long resId;

	@Column(name="C_LAT")
	private String cLat;

	@Column(name="C_LNG")
	private String cLng;

	private String lat;

	private String lng;

	private String remark;

	@Column(name="RES_CLASSIFY")
	private String resClassify;

	@Column(name="RES_LEVEL")
	private String resLevel;

	@Lob
	@Column(name="RES_NAME")
	private String resName;

	@Column(name="RES_PART_ID")
	private long resPartId;

	@Lob
	@Column(name="SORT_CODE")
	private String sortCode;

	private String state;

	@Lob
	@Column(name="STRUCT_SHORTNAME")
	private String structShortname;

	public SysDistrict() {
	}

	public long getResId() {
		return this.resId;
	}

	public void setResId(long resId) {
		this.resId = resId;
	}

	public String getCLat() {
		return this.cLat;
	}

	public void setCLat(String cLat) {
		this.cLat = cLat;
	}

	public String getCLng() {
		return this.cLng;
	}

	public void setCLng(String cLng) {
		this.cLng = cLng;
	}

	public String getLat() {
		return this.lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getLng() {
		return this.lng;
	}

	public void setLng(String lng) {
		this.lng = lng;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getResClassify() {
		return this.resClassify;
	}

	public void setResClassify(String resClassify) {
		this.resClassify = resClassify;
	}

	public String getResLevel() {
		return this.resLevel;
	}

	public void setResLevel(String resLevel) {
		this.resLevel = resLevel;
	}

	public String getResName() {
		return this.resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public long getResPartId() {
		return this.resPartId;
	}

	public void setResPartId(long resPartId) {
		this.resPartId = resPartId;
	}

	public String getSortCode() {
		return this.sortCode;
	}

	public void setSortCode(String sortCode) {
		this.sortCode = sortCode;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getStructShortname() {
		return this.structShortname;
	}

	public void setStructShortname(String structShortname) {
		this.structShortname = structShortname;
	}

}